package com.warmheart.core.combine.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.warmheart.core.cors.builder.CoRsBuilder;

/**
 * 
 * @ClassName: CombineModel
 * @Description: 联合模型
 * @author ZhangJianyang
 * @date 2025-06-16 09:37:02
 *
 */
public class CombineModel implements Serializable {

    private static final long serialVersionUID = 1L;

    private final List<CoRsBuilder<?, ?>> joinList = new ArrayList<CoRsBuilder<?, ?>>();

    private final Map<CoRsBuilder<?, ?>, String> joinAliasMap = new HashMap<CoRsBuilder<?, ?>, String>();

    private final Map<String, CoRsBuilder<?, ?>> aliasJoinMap = new HashMap<String, CoRsBuilder<?, ?>>();

    public CombineModel() {
    }

    public List<CoRsBuilder<?, ?>> getJoinList() {
        return joinList;
    }

    public Map<CoRsBuilder<?, ?>, String> getJoinAliasMap() {
        return joinAliasMap;
    }

    public Map<String, CoRsBuilder<?, ?>> getAliasJoinMap() {
        return aliasJoinMap;
    }
}